ImageName.Exists Method

Syntax

Result_Flag as L = .Exists( Logical_Image_Name as C )

Arguments

Result_Flag

True (.T.) indicates that the image name was found in the dictionary. False (.F.) indicates that it was not found.

Logical_Image_Name

The name of a logical image name.

Description

The .Exists() method determines if a logical image name exists in the string dictionary.

Example

dim ir as P
dim nm as P
ir = ImageResource.get()
nm = ir.GetBitmapNameMap()
nm.Initialize(<<%str%
a5_control:browse=$a5_browse
%str%)
? nm.exists("a5_control:browse")
= .T.

See Also